import getDataDemo from '../page/basic/getDataDemo'
import usage from '../page/basic/getDataChild/usage'
import get from '../page/basic/getDataChild/get'
import post from '../page/basic/getDataChild/post'
import put from '../page/basic/getDataChild/put'
import _delete from '../page/basic/getDataChild/delete'
import all from '../page/basic/getDataChild/all'

export default [
  {
    name: 'getData-demo',
    path: 'getDataDemo',
    direct: 'getDataDemo',
    title: 'getData使用',
    component: getDataDemo,
    children: [
      {
        name: 'basic-basic-getData-demo-usage',
        path: 'usage',
        title: '用法',
        component: usage
      },
      {
        name: 'basic-basic-getData-demo-get',
        path: 'get',
        title: 'GET',
        component: get
      },
      {
        name: 'basic-basic-getData-demo-post',
        path: 'post',
        title: 'POST',
        component: post
      },
      {
        name: 'basic-basic-getData-demo-put',
        path: 'put',
        title: 'PUT',
        component: put
      },
      {
        name: 'basic-basic-getData-demo-delete',
        path: 'delete',
        title: 'DELETE',
        component: _delete
      },
      {
        name: 'basic-basic-getData-demo-all',
        path: 'all',
        title: 'ALL',
        component: all
      }
    ]
  }
]
